package com.example.unveil_the_leader.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName applys
 */
@TableName(value ="applys")
@Data
public class Applys implements Serializable {
    /**
     * 申请id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 项目id
     */
    @TableField(value = "program_id")
    private Integer programId;

    /**
     * 消息发送者id
     */
    @TableField(value = "customer_id")
    private Integer customerId;

    /**
     * 消息接收者者id
     */
    @TableField(value = "publisher_id")
    private Integer publisherId;

    /**
     * 消息内容
     */
    @TableField(value = "information")
    private String information;

    /**
     * (0:表示申请消息,1:表示回复消息,2:表示退出消息,3:表示创建项目消息,4:项目取消消息)
     */
    @TableField(value = "information_type")
    private Integer informationType;

    /**
     * (0:表示未读，1:表示已读)
     */
    @TableField(value = "message_status")
    private Integer messageStatus;

    /**
     * (0:表示未删除,1:表示已删除)
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    /**
     * 消息发送时间
     */
    @TableField(value = "send_time")
    private Date sendTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}